﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Candy.Web.Data
{
    public class PhylogenyDto
    {
        [Key]
        public int Id { get; set; }


        [Required]
        [Editable(false, AllowInitialValue = true)]
        public int ProjectId { get; set; }

        [Required]
        [StringLength(450, MinimumLength=3)]
        public string Name { get; set; }

        public string Alignment { get; set; }

        public string Tree { get; set; }

        public string Description { get; set; }

        [Required]
        [Editable(false, AllowInitialValue = true)]
        public DateTime CreateDate { get; set; }

        [Editable(false, AllowInitialValue = true)]
        public string CreatedBy { get; set; }

        public Uri CreatorProfilePic { get; set; }

        public int FamilyId { get; set; }

    }
}